package com.stone.framework.user.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.stone.framework.message.user.RolePageReqBody;
import com.stone.framework.message.user.RolePageResBody;
import com.stone.framework.message.user.RoleReqBody;
import com.stone.framework.user.entity.Role;

public interface RoleService {

    IPage<RolePageResBody> queryPage(RolePageReqBody reqBody, Page<Role> page);

    List<String> queryByUsername(String username);

    Map<String, String> query();

    void save(RoleReqBody reqBody);

    void modify(RoleReqBody reqBody);

    void delete(Long id);

}
